#include <iostream>
using namespace std;
#include <string>

class Person
{
public:
    string name[10];
    int age;
    char sex;
};

#if 0   
class student
{
private:
    string name;
    int age;
    char sex;
    int stuId;
    int score;
};

class Staff
{
private:
    string name;
    int age;
    char sex;
    int staffId;
    int salary;
};

#endif

// 继承
class Student : public Person
{
public:
    int stuId;
    int score;
};

int main()
{
    Student s1;

    s1.sex = 'm';
    s1.age = 26;
    s1.name = "mr_zhang";

    s1.stuId = 43639;
    s1.score = 99;





    return 0;
}
